package com.twu.exercise;

public class VerticalLine {
    public String print(int number) {
        String separator = System.getProperty("line.separator");
        StringBuilder result = new StringBuilder();

        for (int index = 0; index < number; index++) {
            result = result.append("*" + separator);
        }
        return result.toString();
    }
}
